package com.yugao.fintech.libra.model.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import com.yugao.fintech.libra.common.tenant.core.DataIsolation;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * 角色和部门关联 sys_role_dept
 * 

 */
@Getter
@Setter
@ToString
@TableName("sys_role_dept")
@DataIsolation(filterTenant = true, tableName = "sys_role_dept")
public class SysRoleDeptRel {
    /** 角色ID */
    private Long roleId;
    
    /** 部门ID */
    private Long deptId;

    public static LambdaQueryWrapper<SysRoleDeptRel> lqw() {
        return Wrappers.lambdaQuery();
    }
}
